<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd">
<beans default-autowire="byName" default-lazy-init="true">  
    <bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
        <property name="maxUploadSize">
            <value>150000000</value>
        </property>
        <property name="maxInMemorySize">  
            <value>4096</value>  
        </property>
    </bean>

 	<!-- Multi-Action 用来标识method的变量名定义-->
    <bean id="methodNameResolver" class="org.springframework.web.servlet.mvc.multiaction.ParameterMethodNameResolver">
        <property name="paramName">
            <value>action</value>
        </property>
        <property name="defaultMethodName">
            <value>index</value>
        </property>
    </bean>

    <!--Default ViewResolver,因为照顾普通JSP的一体性,没有进行WEB-INF/jsp转向-->
    <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
        <property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>
    </bean>
	    	   
	<!-- 用于url映射控制 -->
    <bean id="commonHandlerMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
        <property name="mappings">
        	<value>
        		/bpm/opProductFlow.do=productFlowController
        		/bpm/opBusinessAnalysis.do=businessAnalysisController
        		/bpm/opMeetingProtocol.do=meetingProtocolController
        	</value>
        </property>
    </bean>
    
	<bean id="productFlowController" class="cn.ffcs.bpmpvc.web.ProductFlowController"></bean>
	<bean id="businessAnalysisController" class="cn.ffcs.bpmpvc.web.BusinessAnalysisController"></bean>
	<bean id="meetingProtocolController" class="cn.ffcs.bpmpvc.web.MeetingProtocolController"></bean>
	
</beans>